package com.boss.core.common;

import org.kohsuke.stapler.DataBoundConstructor;

/**
 * Server - used in infra related views
 * @author Momin Noor Khan
 */
public class Server {
    private String name;
    private String staplerClass;
    private String targetLocation;

    @DataBoundConstructor
    public Server(String staplerClass, String targetLocation) {
        //this.empty = empty;
        //this.server = jsonServerBlock.getString("stapler-class");
        //this.server = server;
        this.name = "";
        this.staplerClass = staplerClass;
        this.targetLocation = targetLocation;
    }

    public String getName() {
        return name;
    }

    /**
     * Gets the value of server in this instance of target linux box profile.
     * @return
     */
    public String getStaplerClass() {
        return staplerClass;
    }

    /**
     * Gets the value of port in this instance of target linux box profile.
     * @return
     */
    public String getTargetLocation() {
        return targetLocation;
    }

}
